<template>
  <div class='container'>
    <img src='/static/images/tuoyuan.png' class='tuoyuan'/>
    <div class='commentCon'>
        <textarea class="weui-textarea" name="content"  placeholder="写评论.."  />
        <div class='btn' bindtap='toComment'>发表</div>
    </div>
  </div>
</template>

<script>
export default {
  components: {

  },

  data () {
    return {
       index:"111"
    }
  },
  methods:{
     
  },
  onLoad(){
     Object.assign(this.$data, this.$options.data())
  },
  created () {
    
  }
}
</script>
<style lang="scss" scoped>
page{
  background: #F4F5F5;
}
.tuoyuan{
  width: 375px;
  height: 118px;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}
.container{
  padding: 15px;
}
.commentCon{
  width:345px;
  min-height: 322px;
  background:rgba(255,255,255,1);
  box-shadow:0px 2px 8px 0px rgba(0, 0, 0, 0.14);
  border-radius:7px;
  position: relative;
  z-index: 2;
  font-size:14px;
  font-weight:500;
  color:rgba(153,153,153,1);
}
.commentCon textarea{
  padding: 15px;
  box-sizing: border-box;
  min-height: 280px;
}
.commentCon .btn{
  position: absolute;
  width:345px;
  height:45px;
  background:#1A84FB;
  border-radius:5px;
  text-align: center;
  line-height: 45px;
  font-size:15px;
  font-weight:bold;
  color:rgba(255,255,255,1);
  left: 0;
  bottom: 0;
}
</style>
